<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions 
 * @package    Suggestion
 * @copyright  Copyright 2009-2010 BigStep Technologies Pvt. Ltd.
 * @license    http://www.socialengineaddons.com/license/
 * @version    $Id: _upgrade_messages.tpl 2010-08-17 9:40:21Z SocialEngineAddOns $
 * @author     SocialEngineAddOns
 */
?>
<script type="text/javascript">
function dismiss(modName) {
	document.cookie= modName + "_dismiss" + "=" + 1;
	$('dismiss_modules').style.display = 'none';
}
</script>

<?php 
	$moduleName = Zend_Controller_Front::getInstance()->getRequest()->getModuleName(); 
	if( !isset($_COOKIE[$moduleName . '_dismiss']) ):
?>
<div id="dismiss_modules">
	<div class="seaocore-notice">
		<div class="seaocore-notice-icon">
			<img src="<?php echo $this->layout()->staticBaseUrl ?>application/modules/Seaocore/externals/images/notice.png" alt="Notice" />
		</div>
<div style="float:right;">
	<button onclick="dismiss('<?php echo $moduleName; ?>');"><?php echo $this->translate('Dismiss'); ?></button>
</div>
		<div class="seaocore-notice-text ">
			<?php echo 'To see the latest available version for this plugin and more information, please visit the "Plugins" > "SocialEngineAddOns" section of your site\'s Admin Panel.'; ?>
		</div>	
	</div>
</div>
<?php endif; ?>